package cn.ac.jaas.isc.vegetable.admin.api.dto;

import cn.ac.jaas.isc.vegetable.admin.api.entity.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author 张高昌
 * @date 2022/4/28 14:07
 * @description: 功能描述
 */
@Data
@ApiModel(value = "系统用户传输对象")
@EqualsAndHashCode(callSuper = true)
public class UserDTO extends SysUser {

    /**
     * 角色ID
     */
    @ApiModelProperty(value = "角色id集合")
    private List<Integer> role;

    /**
     * 部门id
     */
    @ApiModelProperty(value = "部门id")
    private Integer deptId;

    /**
     * 新密码
     */
    @ApiModelProperty(value = "新密码")
    private String newpassword1;
}
